package Month09.day0918.part_2;

public class Dog extends Animal{
    public Dog(String name, int age, String gender){
        super(name,age,gender);
        this.name = name;
        this.age = age;
        this.gender = gender;
    }
    public void eat(){
        System.out.println(name + "狗吃骨头");
    }
}
